﻿<script type="text/jscript">
    $(document).ready(function () {

        $('#BrandType').change(function () {
            var typeString = $('#BrandType').val();
            var brandString = $('#CarBrand').val();
            $.ajax({
                url: "/Search/TypeUpdateStyle",
                datatype: "html",
                type: 'GET',
                traditional: true,
                data:
                          {
                              'brand': brandString,
                              'type': typeString

                          },
                success: function (result) {
                    $('#divVehicleStyle').html(result);
                }
            });

        });
    });
</script>
<div id="divBrandType" >
    @Html.DropDownList("BrandType", "请选择型号")
</div>

